package com.yonyou.cyxdms.sysAuth.service.service.manage.asc;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yonyou.cyx.framework.service.base.ICommonService;
import com.yonyou.cyxdms.sysAuth.service.dto.dealerchannel.DealerInfoDTO;
import com.yonyou.cyxdms.sysAuth.service.entity.AscInfoPO;
import com.yonyou.cyxdms.sysAuth.service.entity.DealerInfoPO;
import com.yonyou.cyxdms.sysmanage.client.domains.dto.AscInfoDTO;
import org.springframework.stereotype.Service;

import java.util.Map;

public interface AscInfoService {
    /**
     * 保存服务站信息
     *
     * @auther: 李贺
     * @since: 2019/9/10
     */
    void addAscInfo(AscInfoPO ascinfopo);

    /**
     * 更新服务站信息
     *
     * @auther: 李贺
     * @since: 2019/9/16
     */
    void updateAscById(AscInfoPO ascinfopo);

    /**
     * 查询服务站信息
     *
     * @auther: 李贺
     * @since: 2019/9/16
     */
    AscInfoPO selectAscById(Integer ascId);

    /**
     * 售后信息查询
     *
     * @auther: adu
     * @since: 2019/10/10
     */
    public IPage<Map<String, Object>> selectPageAfterSaleInfo(Page page, Map<String, Object> queryCondition);

    /**
     * 添加售后信息
     *
     * @auther: adu
     * @since: 2019/10/10
     */
    public Integer insertAfterSaleInfo(AscInfoPO ascinfopo);

    public Integer updateAfterSaleInfo(AscInfoPO ascinfopo);


    Integer insertAscInfo(AscInfoDTO ascInfoDTO);
}
